package com.ponhu.ea2.goodsCenter.provider.service.impl;

import com.ponhu.ea2.entity.PhCountries;
import com.ponhu.ea2.goodsCenter.provider.mapper.PhCountriesMapper;
import com.ponhu.ea2.goodsCenter.provider.service.PhCountriesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ponhu.ea2.vo.PhCountriesVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 世界国家信息表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-10-21
 */
@Service
public class PhCountriesServiceImpl extends ServiceImpl<PhCountriesMapper, PhCountries> implements PhCountriesService {

    @Resource
    PhCountriesMapper phCountriesMapper;

    @Override
    public List<PhCountriesVo> getAllCountriesForVo() {
        return phCountriesMapper.getAllCountriesForVo();
    }
}
